package com.rainbow.gwt.accounting.server.pojo;

import java.util.Date;

/**
 * 
 * @author Rainbow
 * @hibernate.class table="bill"
 */
public class Bill {
	private Long id;
	private String name;
	private Double expend;
	private Double income;
	private Date fromDate;
	private Date endDate;
	private String description;

	/**
	 * @hibernate.id generator-class="native"
	 * @hibernate.column name="ID"
	 */
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * @hibernate.property column="name" type="java.lang.String" length="32"
	 *                     not-null="true"
	 */
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @hibernate.property column="expend" type="java.lang.Double"
	 *                     not-null="true"
	 */
	public Double getExpend() {
		return expend;
	}

	public void setExpend(Double expend) {
		this.expend = expend;
	}

	/**
	 * @hibernate.property column="income" type="java.lang.Double"
	 *                     not-null="true"
	 */
	public Double getIncome() {
		return income;
	}

	public void setIncome(Double income) {
		this.income = income;
	}

	/**
	 * @hibernate.property column="from_date" type="java.util.Date"
	 */
	public Date getFromDate() {
		return fromDate;
	}

	public void setFromDate(Date fromDate) {
		this.fromDate = fromDate;
	}

	/**
	 * @hibernate.property column="end_date" type="java.util.Date"
	 */
	public Date getEndDate() {
		return endDate;
	}

	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}

	/**
	 * @hibernate.property column="description" type="java.lang.String"
	 *                     length="32"
	 */
	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
